@import "common.styl"
.upload
  padding px2rem(12px)
  overflow hidden
  display flex
  justify-content space-between
  flex-wrap wrap
.upload-item
  position relative
  width 30%
  height px2rem(80px)
  //overflow hidden
  margin-bottom px2rem(12px)
  border 1px solid #e0e0e0
  &.upload-input
    background-image url('https://pimg.ec51.com/card/upload-btn.png')
    background-size 50%
    background-position center
    background-repeat no-repeat
    position relative
    input
      position absolute
      left 0
      top 0
      width 100%
      height 100%
      opacity 0
  &:nth-child(3n)
    margin-right 0
  img
    width 100%
    height 100%
    object-fit cover
    vertical-align middle
  &>i
    position absolute
    right px2rem(-8px)
    top px2rem(-8px)
    font-size px2rem(16px)
    color $garyColor

.submit
  width 90%
  background-color $lightColor
  color #fff
  border none
  margin px2rem(20px) auto
  display block
  line-height px2rem(34px)
  border-radius px2rem(6px)
  outline none
  font-size px2rem(15px)





